﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BanDo.aspx.cs" Inherits="GUI.BanDo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
    <style type="text/css">
        html
        {
            height: 100%;
        }
        body
        {
            height: 100%;
            margin: 0;
            padding: 0;
        }
        #map_canvas
        {
            width: 550px;
            height: 500px;
            margin: 20px auto;
        }
    </style>
    <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false">
    </script>
    <script type="text/javascript">
        function initialize() {
            var myLatlng = new google.maps.LatLng(10.754580, 106.67597);
            var mapOptions = {
                zoom: 16,
                center: myLatlng,
                mapTypeId: google.maps.MapTypeId.ROADMAP
            }

            var map = new google.maps.Map(document.getElementById('map_canvas'), mapOptions);

            var contentString = "  <strong>CÔNG TY TNHH TM MÁY TÍNH AB</strong><br />";
            contentString += "806 Trần Hưng Đạo, Phường 7, Quận 5, TP. Hồ Chí Minh";
            contentString += "<div>";
            contentString += "Điện thoại: 08.626.00000 - 08.626.11111 - Fax: 08.3836 2222<br />";
            contentString += "HotLine: <span style=\"color: rgb(255, 0, 0);\"><strong>0909. 085 712 - 0909 087 812</strong></span>";
            contentString += "(<strong>Mr. Huy - MR. Tâm</strong>)</div>";
            contentString += "</div>";

            var infowindow = new google.maps.InfoWindow({
                content: contentString
            });

            var marker = new google.maps.Marker({
                position: myLatlng,
                map: map
            });
            google.maps.event.addListener(marker, 'click', function () {
                infowindow.open(map, marker);
            });
        }

    </script>
</head>
<body onload="initialize()">
    <div id="map_canvas">
    </div>
</body>
</html>
